 
<header id="header" class="mui-bar mui-bar-black mui-bar-nav">
    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
    <h1 class="mui-title">资产申领</h1>
</header>
<div class="mui-content mui-content-my assets2">
    <div>
        <div class="mui-input-row mui-radio">
            <label><span>按工地申请</span></label>
            <input name="radio1" type="radio">
        </div>
        <div id="showUserPicker" class="assets-list">选择工地</div>
    </div>
    <div>
        <div class="mui-input-row mui-radio">
            <label><span>按公司申请</span></label>
            <input name="radio1" type="radio">
        </div>
        <div id="showUserPicker1" class="assets-list">选择公司</div>
    </div>
</div>
<script src="__CDN__/style/js/jquery-1.11.3.js"></script>
<script src="__CDN__/style/js/mui.poppicker.js"></script>
<script src="__CDN__/style/js/mui.picker.min.js"></script>
<script src="__CDN__/style/js/city.data.js"></script>
<script>
    var showUserPickerButton = document.getElementById('showUserPicker');
    var showUserPickerButton1 = document.getElementById('showUserPicker1');
    (function($,doc) {
        $.init();
        var userPicker = new $.PopPicker();
        var Picker = new $.PopPicker();
        userPicker.setData({$siteList});
        Picker.setData({$cList});
        showUserPickerButton.addEventListener('tap', function(event) {
            userPicker.show(function(items) {
                var rul= JSON.stringify(items[0].value);
                location.href="/index/property/second_step/site_id/"+rul+".html";

                var rul= JSON.stringify(items[0].text);
                var rula=rul.replace('"','').replace('"','');
                showUserPickerButton.innerHTML = rula;
                //返回 false 可以阻止选择框的关闭
                //return false;
            });
        }, false);
        showUserPickerButton1.addEventListener('tap', function(event) {
            Picker.show(function(items) {
                var rul= JSON.stringify(items[0].text);
                var rula=rul.replace('"','').replace('"','');
                showUserPickerButton1.innerHTML = rula;
                //返回 false 可以阻止选择框的关闭
                //return false;
            });
        }, false);

    })(mui,document);
</script>
 